<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Hugo 0.88.1">
    <title>登录</title>
    <link rel="shortcut icon" href="../static/img/icon.svg">
    <link rel="stylesheet" href="../static/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../static/css/login.css">
    <style>
        body{
            background: url("../static/img/jli01.png") no-repeat center center fixed;
            background-size: cover;
        }
    </style>
</head>
<body class="text-center">

    <form class="form-signin">
        <img class="mb-4" src="../static/img/icon.svg" alt="" width="72" height="72">
        <h1 class="h3 mb-3 font-weight-normal" style="color: white">登录</h1>
        <label for="num" class="sr-only">学号/工号</label>
        <input type="text" id="num" class="form-control" placeholder="学号/工号" required autofocus>
        <label for="pwd" class="sr-only">密码</label>
        <input type="password" id="pwd" class="form-control" placeholder="密码" required>
        <label for="role" class="sr-only">身份</label>
        <select name="role" id="role" class="form-control">
            <option value="0" selected>学生</option>
            <option value="1">教师</option>
        </select>
        <div class="checkbox mb-3">
            <label>
                <input type="checkbox" value="1" id="remember">
                <label style="color: white">记住密码</label>
            </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="button" onclick="login()">登录</button>
        <p class="mt-5 mb-3 text-muted">&copy; by my 2022-01</p>
    </form>


<!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
<script src="../static/js/jquery-3.5.1.js"></script>
<script src="../static/bootstrap/js/bootstrap.min.js"></script>
<script src="../static/js/login.js"></script>
</body>
</html>